package cn.itcast.bos.service.standard;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import cn.itcast.bos.domain.base.Standard;

public interface StandardService {
	public void save(Standard standard);

	public List<Standard> findAll();
	
	public Page<Standard>findAll(Pageable pageable);

	public Page<Standard> findPageData(Specification<Standard> specification,
			Pageable pageable);

	public void delete(String ids);

	public void restore(String ids);
}
